from io import BytesIO

bytes_io = BytesIO()
bytes_io.write("你好".encode("utf-8"))
read = bytes_io.getvalue()
print(read)
print(str(read, "utf-8"))


